package cn.tedu.car.backend.station.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;

@Data
public class StationSaveParam {
    //用于接收前端发送的新增站点数据
    @ApiModelProperty(value = "站点id")
    private Long id;
    @ApiModelProperty(value = "站点名称")
    private String stationName;
    @ApiModelProperty(value = "站点位置")
    private String stationLocation;
    @ApiModelProperty(value = "站点经纬度")
    private String stationPosition;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "站点创建时间")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "站点更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "站点绑定车辆id列表")
    private ArrayList<Long> bindVehicleList;
}
